<template>
    <div>
        <home-header></home-header>
        <home-swiper></home-swiper>
        <home-icons></home-icons>
        <home-recommend></home-recommend>
    </div>
</template>

<script>
import HomeHeader from './components/Header'
import HomeSwiper from './components/Swiper'
import HomeIcons from './components/Icons'
import HomeRecommend from './components/Recommend'
import axios from 'axios'
export default {
  name: 'Home',
  components: {
    HomeHeader,
    HomeSwiper,
    HomeIcons,
    HomeRecommend
  },
  data () {
    return {

    }
  },
  mounted () {
    this.getUser()
  },
  async getUser () {
    try {
      const response = await axios.get('/user?ID=12345')
      console.log(response)
    } catch (error) {
      console.error(error)
    }
  },
  methods: {
  }
}
</script>

<style>
</style>
